package com.ysd.lis.entity.lab;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 不合格记录原因详情表
 * </p>
 *
 * @author Bai
 * @since 2024-02-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("LAB_REQ_UNQUALIFIED_DETAIL")
public class LabReqUnqualifiedDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 不合格原因组ID
     */
    @TableField("UNQUALIFIED_GROUP_ID")
    private String unqualifiedGroupId;

    /**
     * 不合格原因ID
     */
    @TableField("UNQUALIFIED_REASON_ID")
    private String unqualifiedReasonId;

    /**
     * 不合格原因处理主表ID
     */
    @TableField("REQ_UNQUALIFIED_ID")
    private String reqUnqualifiedId;

    @TableField(exist = false)
    private String reqMainId;
    @TableField(exist = false)
    private List<String> unqualifiedDetailIds;

    /**
     * 联系人
     */
    @TableField(exist = false)
    private String contactCode;
    /**
     * 联系人名称
     */
    @TableField(exist = false)
    private String contactName;
    /**
     * 联系时间
     */
    @TableField(exist = false)
    private Timestamp contactTime;

}
